<?php

	include("common.php");
	
?>
<?php include("header.php"); ?>
<h1>上傳檔案</h1>
<form action="fileAdd.php" method="POST" enctype="multipart/form-data">
	<div id="file-uploader">
		
	</div>
	<script type="text/javascript">
		$(document).ready(function() {
			var uploader = new qq.FileUploader({
				element: $("#file-uploader")[0],
				action: 'fileProcess.php',
				params: {},
				allowedExtensions: [],
				debug: false,
				onComplete: function(id, fileName, responseJSON){ }
			});
		});
	</script>
	<p><a href="fileFind.php">返回</a></p>
</form>
<?php include("sidebar.php"); ?>
<?php include("footer.php"); ?>